//
//  MainTableViewCell.h
//  HDYS
//
//  Created by qianfeng on 15-4-21.
//  Copyright (c) 2015年 kay. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MainDataModel.h"

@protocol MainTableViewCellDelegate <NSObject>

@optional
-(void)mainTableViewCellWillGoToGoodsInfoWithModel:(MainDataModel *)goodsModel;

//参数2:是否收藏
-(void)mainTableViewCellWillCollectGoodsWithModel:(MainDataModel *)goodsModel andIsCollect:(BOOL)isCollect;

@end

@interface MainTableViewCell : UITableViewCell

@property (nonatomic, assign) id <MainTableViewCellDelegate> delegate;

@property (nonatomic, strong) UIButton *likeBtn;

- (void)configureUIWithModel:(MainDataModel *)model;

@end
